package com.my.study.controller;

import com.my.study.service.SysRoleService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author: yidujun
 * @create: 2021/04/29 10:04
 */
@RestController
@RequestMapping("/sys/role")
public class SysRoleController {

    @Resource
    SysRoleService sysRoleService;

    @RequestMapping("/get")
    public String get() throws Exception {
        return sysRoleService.get();
    }

}
